package com.victor.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.victor.entity.group.GroupTour;
import com.victor.entity.group.GroupTour_Signup;
@Mapper
public interface GroupTour_SignupDao {
	/**
	 * 添加团游报名
	 * @param record
	 * @return
	 */
    boolean insertSelective(GroupTour_Signup record);

    GroupTour_Signup selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(GroupTour_Signup record);

    /**
	 * 团友报名详情
	 * @param start
	 * @param end
	 * @param search
	 * @return
	 */
	List<GroupTour_Signup> selAllGroup(@Param("start")String start, @Param("end")String end,@Param("search") String search,@Param("tourid")String tourid);
	/**
	 * 删除团游报名
	 * @param ids
	 * @return
	 */
	boolean deleteByPrimaryKey(int[] ids);
	/**
	 * 根据id查询团友报名
	 * @param id
	 * @return
	 */
	GroupTour_Signup selById(Integer id);
}